package cn.com.gainfo.recks.dao.phone;

import java.util.List;

import javax.sql.DataSource;

import cn.yzyue.base.dao.AbstractDAO;
import cn.yzyue.base.tools.db.DB;
import cn.yzyue.base.tools.db.SQL;
import cn.yzyue.base.vo.VO;

public class PhoneBusinessDAO extends AbstractDAO {

	public boolean batchAdd(DataSource dataSource,String tableName,String[] fileds,List<String[]> data){
		return DB.batchAdd(dataSource, tableName, fileds, data);
		
	}	


	public List findServiceInc(DataSource dataSource){
		String sql = "select id , name from aserviceinc where flag = '1' ";
		return DB.search(dataSource, sql);
	}


	@Override
	public List<String[]> find(DataSource dataSource, SQL sql, int page) {
		// TODO Auto-generated method stub
		return super.find(dataSource, sql, page);
	}


	@Override
	public List<String[]> find(DataSource dataSource, String sql) {
		// TODO Auto-generated method stub
		return super.find(dataSource, sql);
	}


	@Override
	public VO findByIds(DataSource dataSource, VO vo, String[] ids) {
		// TODO Auto-generated method stub
		return super.findByIds(dataSource, vo, ids);
	}
	
	

}
